gui_paladin = {
	name = "Paladin",
	handler = ccR_GUI,
	type = "group",
        args = {
    		Holy= {
                name = "Holy",
                type = "group",
                childGroups = "tree",
                order = 1,
                args = {
                    HolyHeader = {
                    order = 1,
                    type = "header",
                    name = "Holy",
                    },
                },
            },
            Protection = {
                name = "Protection",
                type = "group",
                childGroups = "tree",
                order = 2,
                args = {
                    AutoAoEHeader = {
                        order = 0,
                        type = "header",
                        name = "Automatic AoE Settings",
                    },
                    ProtSingleCount = {
                        order = 1,
                        type = "input",
                        name = "Single Target Count",
                        desc = "* Automatic AoE *\n\n Maximum number of targets within 12 yards to use Single Target Rotation.",
                        set = function(info, value) ccRS.Paladin_2_SingleTargetCount = tonumber(value) end,
                        get = function(info) return tostring(ccRS.Paladin_2_SingleTargetCount) end,
                    },
                    ProtAoECount = {
                        order = 2,
                        type = "input",
                        name = "AoE Target Count",
                        desc = "* Automatic AoE *\n\n Minimum number of targets within 12 yards to use AoE Rotation.",
                        set = function(info, value) ccRS.Paladin_2_AoECount = tonumber(value) end,
                        get = function(info) return tostring(ccRS.Paladin_2_AoECount) end,
                    },
                    UseSealSwitching = {
                        order = 3,
                        type = "toggle",
                        name = "Use Seal Switching",
                        desc = "Automatically switch seals depending on target count within 12 yards.",
                        set = function(info, value) ccRS.Paladin_2_UseSealSwitching = value end,
                        get = function(info) return ccRS.Paladin_2_UseSealSwitching end,
                    },            
                    emptyspacer1111 = {
                        order = 4,
                        name = "",
                        type = "description",
                    },
                    SealOfTruth = {
                        order = 5,
                        type = "input",
                        name = "Seal of truth",
                        desc = "* Automatic AoE *\n\n Maximum number of targets within 12 yards to use Seal of Truth.",
                        set = function(info, value) ccRS.Paladin_2_SoT = tonumber(value) end,
                        get = function(info) return tostring(ccRS.Paladin_2_SoT) end,
                    },
                    SealOfRighteousness = {
                        order = 6,
                        type = "input",
                        name = "Seal of Righteousness",
                        desc = "* Automatic AoE *\n\n Minimum number of targets within 12 yards to use Seal of Righteousness.",
                        set = function(info, value) ccRS.Paladin_2_SoR = tonumber(value) end,
                        get = function(info) return tostring(ccRS.Paladin_2_SoR) end,
                    },
                    TalentHeader = {
                        order = 10,
                        type = "header",
                        name = "Talents",
                    },
                    tblUseHammerOfJustice = {
                        order = 11,
                        type = "toggle",
                        name = "Use Hammer/Fist of Justice",
                        desc = "Use Hammer/Fist of Justice on any target. (Except bosses).",
                        set = function(info, value) ccRS.Paladin_2_UseHammerOfJustice = value end,
                        get = function(info) return ccRS.Paladin_2_UseHammerOfJustice end,
                    },
                    emptyspace0002 = {
                        order = 19,
                        name = "",
                        type = "description",
                    },
                    tblUseSelflessHealer = {
                        order = 20,
                        type = "toggle",
                        name = "Use Selfless Healer",
                        desc = "Use Flash of Light when you reach a minimum HP.",
                        set = function(info, value) ccRS.Paladin_2_UseSelflessHealer = value end,
                        get = function(info) return ccRS.Paladin_2_UseSelflessHealer end,
                    },
                    tblSelflessHealerHP = {
                        order = 21,
                        type = "input",
                        name = "Player Health",
                        desc = "What percentage of player health to use Selfless Healer",
                        set = function(info, value) ccRS.Paladin_2_SelflessHealerHP = tonumber(value) end,
                        get = function(info) return tostring(ccRS.Paladin_2_SelflessHealerHP) end,
                    },
                },
            },
        Retribution = {
            name = "Retribution",
            type = "group",
            childGroups = "tree",
            order = 3,
            args = {
                AutoAoEHeader = {
                    order = 0,
                    type = "header",
                    name = "Automatic AoE Settings",
                },
                RetriSingleCount = {
                    order = 1,
                    type = "input",
                    name = "Single Target Count",
                    desc = "* Automatic AoE *\n\n Maximum number of targets within 12 yards to use Single Target Rotation.",
                    set = function(info, value) ccRS.Paladin_3_SingleTargetCount = tonumber(value) end,
                    get = function(info) return tostring(ccRS.Paladin_3_SingleTargetCount) end,
                },
                RetriAoECount = {
                    order = 2,
                    type = "input",
                    name = "AoE Target Count",
                    desc = "* Automatic AoE *\n\n Minimum number of targets within 12 yards to use AoE Rotation.",
                    set = function(info, value) ccRS.Paladin_3_AoECount = tonumber(value) end,
                    get = function(info) return tostring(ccRS.Paladin_3_AoECount) end,
                },
                UseSealSwitching = {
                    order = 3,
                    type = "toggle",
                    name = "Use Seal Switching",
                    desc = "Automatically switch seals depending on target count within 12 yards.",
                    set = function(info, value) ccRS.Paladin_3_UseSealSwitching = value end,
                    get = function(info) return ccRS.Paladin_3_UseSealSwitching end,
                },            
                emptyspacer1111 = {
                    order = 4,
                    name = "",
                    type = "description",
                },
                SealOfTruth = {
                    order = 5,
                    type = "input",
                    name = "Seal of truth",
                    desc = "* Automatic AoE *\n\n Maximum number of targets within 12 yards to use Seal of Truth.",
                    set = function(info, value) ccRS.Paladin_3_SoT = tonumber(value) end,
                    get = function(info) return tostring(ccRS.Paladin_3_SoT) end,
                },
                SealOfRighteousness = {
                    order = 6,
                    type = "input",
                    name = "Seal of Righteousness",
                    desc = "* Automatic AoE *\n\n Minimum number of targets within 12 yards to use Seal of Righteousness.",
                    set = function(info, value) ccRS.Paladin_3_SoR = tonumber(value) end,
                    get = function(info) return tostring(ccRS.Paladin_3_SoR) end,
                },
                TalentHeader = {
                    order = 10,
                    type = "header",
                    name = "Talents",
                },
                tblUseHammerOfJustice = {
                    order = 11,
                    type = "toggle",
                    name = "Use Hammer/Fist of Justice",
                    desc = "Use Hammer/Fist of Justice on any target. (Except bosses).",
                    set = function(info, value) ccRS.Paladin_3_UseHammerOfJustice = value end,
                    get = function(info) return ccRS.Paladin_3_UseHammerOfJustice end,
                },
                emptyspace0002 = {
                    order = 19,
                    name = "",
                    type = "description",
                },
                tblUseSelflessHealer = {
                    order = 20,
                    type = "toggle",
                    name = "Use Selfless Healer",
                    desc = "Use Flash of Light when you reach a minimum HP.",
                    set = function(info, value) ccRS.Paladin_3_UseSelflessHealer = value end,
                    get = function(info) return ccRS.Paladin_3_UseSelflessHealer end,
                },
                tblSelflessHealerHP = {
                    order = 21,
                    type = "input",
                    name = "Player Health",
                    desc = "What percentage of player health to use Selfless Healer",
                    set = function(info, value) ccRS.Paladin_3_SelflessHealerHP = tonumber(value) end,
                    get = function(info) return tostring(ccRS.Paladin_3_SelflessHealerHP) end,
                },
            },
        },
		Abilities = {
                    name = "Abilities",
                    type = "group",
                    childGroups = "tree",
		            order = 4,
                    args = {
                        tblUseLayOnHands = {
				            order = 0,
				            type = "toggle",
				            name = "Use Lay on Hands",
                            desc = "Use Lay on Hands when you reach a minimum HP.",
                            set = function(info, value) ccRS.Paladin_UseLayOnHands = value end,
                            get = function(info) return ccRS.Paladin_UseLayOnHands end,
			            },
                        tblLayOnHandsHP = {
                            order = 1,
                            type = "input",
                            name = "Lay on Hands HP",
                            desc = "What percentage of player health to use Lay on Hands. (1-99)",
                            set = function(info, value) ccRS.Paladin_LayOnHandsHP = tonumber(value) end,
                            get = function(info) return tostring(ccRS.Paladin_LayOnHandsHP) end,
                        },
                        emptyspace0001 = {
                            order = 2,
                            name = "",
                            type = "description",
                        },
                        tblUseDivineShield = {
                            order = 10,
                            type = "toggle",
                            name = "Use Divine Shield",
                            desc = "Use Divine Shield when you reach a minimum HP.",
                            set = function(info, value) ccRS.Paladin_UseDivineShield = value end,
                            get = function(info) return ccRS.Paladin_UseDivineShield end,
                        },
                        tblDivineShieldHP = {
                            order = 11,
                            type = "input",
                            name = "Divine Shield HP",
                            desc = "What percentage of player health to use Divine Shield. (1-99)",
                            set = function(info, value) ccRS.Paladin_DivineShieldHP = tonumber(value) end,
                            get = function(info) return tostring(ccRS.Paladin_DivineShieldHP) end,
                        },
                        emptyspace0002 = {
                            order = 19,
                            name = "",
                            type = "description",
                        },
                        tblUseCleanse = {
                            order = 20,
                            type = "toggle",
                            name = "Use Cleanse",
                            desc = "Use Cleanse if you have a debuff a minimum duration.",
                            set = function(info, value) ccRS.Paladin_UseCleanse = value end,
                            get = function(info) return ccRS.Paladin_UseCleanse end,
                        },
                        tblCleanseDebuffDuration = {
                            order = 21,
                            type = "input",
                            name = "Minimum duration on debuff",
                            desc = "Minimum seconds on the debuff required to use Cleanse.",
                            set = function(info, value) ccRS.Paladin_CleanseDuration = tonumber(value) end,
                            get = function(info) return tostring(ccRS.Paladin_CleanseDuration) end,
                        },
                        emptyspace0003 = {
                            order = 29,
                            name = "",
                            type = "description",
                        },
                        tblUseDivineProtection = {
                            order = 30,
                            type = "toggle",
                            name = "Use Divine Protection",
                            desc = "Use Divine Protection when at a percentage of health.\n\n Recommended: Glyph of Divine Protection.",
                            set = function(info, value) ccRS.Paladin_UseDivineProtection = value end,
                            get = function(info) return ccRS.Paladin_UseDivineProtection end,
                        },
                        tblDivineProtectionHP = {
                            order = 31,
                            type = "input",
                            name = "Health Percentage to use Divine Protection",
                            desc = "Percentage of health to use Divine Protection.",
                            set = function(info, value) ccRS.Paladin_DivineProtectionHP = tonumber(value) end,
                            get = function(info) return tostring(ccRS.Paladin_DivineProtectionHP) end,
                        },
                        emptyspace0004 = {
                            order = 39,
                            name = "",
                            type = "description",
                        },
                        tblUseRebuke = {
                            order = 40,
                            type = "toggle",
                            name = "Use Rebuke",
                            desc = "Use Rebuke to interupt casting.\n\nCasting is interupted when 1s left on cast.",
                            set = function(info, value) ccRS.Paladin_UseRebuke = value end,
                            get = function(info) return ccRS.Paladin_UseRebuke end,
                        },
                        emptyspace0005 = {
                            order = 49,
                            name = "",
                            type = "description",
                        },
                        UseHandOfProtection = {
                            order = 50,
                            type = "toggle",
                            name = "Use Hand of Protection",
                            desc = "Use Hand of Protection when at a percentage of health.",
                            set = function(info, value) ccRS.Paladin_UseHandOfProtection = value end,
                            get = function(info) return ccRS.Paladin_UseHandOfProtection end,
                        },
                        HandOfProtectionHP = {
                            order = 51,
                            type = "input",
                            name = "Health Percentage to use Hand of Protection",
                            desc = "Percentage of health to use Hand of Protection.",
                            set = function(info, value) ccRS.Paladin_HandOfProtectionHP = tonumber(value) end,
                            get = function(info) return tostring(ccRS.Paladin_HandOfProtectionHP) end,
                        },
                        emptyspace0006 = {
                            order = 59,
                            name = "",
                            type = "description",
                        },
                        UseHandOfFreedom = {
                            order = 51,
                            type = "toggle",
                            name = "Use Hand of Freedom",
                            desc = "Use Hand of Freedom if Rooted/Feared/Charmed/Stunned.",
                            set = function(info, value) ccRS.Paladin_UseHandOfFreedom = value end,
                            get = function(info) return ccRS.Paladin_UseHandOfFreedom end,
                        },
                    },
                },
            },
}